package com.llh.demo4tree.controller

import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping

/**
 *
 * Created At 2021/8/5 11:24
 * @author llh
 */
@Controller
@RequestMapping
class IndexController {

    @GetMapping(value = ["", "index", "home"])
    fun indexPage(): String {
        return "index"
    }
}